import { createApp } from 'vue'
import './style.css'
import App from './App.vue'


import router from "./router"


import Vant from 'vant';





// Toast

import 'vant/es/toast/style';

// Dialog

import 'vant/es/dialog/style';

// Notify

import 'vant/es/notify/style';

// ImagePreview

import 'vant/es/image-preview/style';

import { AddressList } from 'vant';

//引入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import { createPinia } from "pinia";
import PiniaPer from "pinia-plugin-persistedstate"
const pinia = createPinia();
pinia.use(PiniaPer)

const app = createApp(App)
app.use(AddressList)
app.use(ElementPlus).use(Vant);
// app.use(Tabbar);
// app.use(TabbarItem);
// app.use(NavBar);
// app.use(Toast);



app.use(router).use(pinia);

app.mount('#app')
